* {
    margin: 0;
    padding: 0;
}
html,body {
    height: 100%;
    background-color: #f00;
}
/* 背景图片 */
body {
    background: url(../images/login_bg.jpg) no-repeat center;
    background-size: cover;
}
/* 登录 */
.layui-main {
    position: relative;
    background: url(../images/logo.png) no-repeat left top;
    height: 100%;
}
.formBox {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    width: 400px;
    height: 310px;
    background: url(../images/login_title.png) center 20px no-repeat;
    background-color: #fff;
}

.layui-form {
    margin-top: 60px;
    padding: 0 30px;
    
}
.form-item-link {
    float: right;
}
/* 账号密码登录框 定位 */
.layui-form-item {
    position: relative;
}
/* 人头与锁 */
.layui-form-item i {
    position: absolute;
    top: 10px;
    left: 8px;
    cursor: pointer;
}
.layui-form-item .layui-input{
    text-indent: 1.3em;
}